package com.zm.pojo;

import java.util.Date;

public class BackendUser {
    //主键id
    private Long id;
    //主键id
    private String usercode;
    //用户名称
    private String username;
    //用户角色类型（来源于数据字典表，分为：超管、财务、市场、运营、销售）
    private Long usertype;
    //创建者（来源于backend_user用户表的用户id）
    private Long createdby;
    //创建时间
    private Date creationdate;
    //更新者（来源于backend_user用户表的用户id）
    private Long modifyby;
    //最新更新时间
    private Date modifydate;
    //用户密码
    private String userpassword;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode == null ? null : usercode.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Long getUsertype() {
        return usertype;
    }

    public void setUsertype(Long usertype) {
        this.usertype = usertype;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public Long getModifyby() {
        return modifyby;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword == null ? null : userpassword.trim();
    }
}